lavc/vaapi_av1: Avoid sending the same slice buffer multiple times
authorDavid Rosca <nowrep@gmail.com>
Wed, 8 May 2024 07:11:13 +0000 (09:11 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Mon, 5 Aug 2024 21:03:13 +0000 (23:03 +0200)
commit73082d7517daeba66da6a113c0eb601412e77a11
tree2e5f1909cb03c9990db1b58617cf17afe4fd0a5f
parent738e384f259bd74f7eb6bf105dc91e89f49a11b7
lavc/vaapi_av1: Avoid sending the same slice buffer multiple times

When there are multiple tiles in one slice buffer, use multiple slice
params to avoid sending the same slice buffer multiple times and thus
increasing the bitstream size the driver will need to upload to hw.

Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Signed-off-by: David Rosca <nowrep@gmail.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
(cherry picked from commit d2d911eb9a2fc6eb8d86b3ae025a56c1a2692fba)

Gbp-Pq: Name 0002-lavc-vaapi_av1-Avoid-sending-the-same-slice-buffer-m.patch
libavcodec/vaapi_av1.c